using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Sql;
using sgsBase;
 
namespace gaClear
{
[Serializable] public class DbNymxFirmTrader :  DbObject
{
  public DbNymxFirmTrader() : base()
  {
      Table = "dbo.nymx_firm_traders";
      Database = "gagm_energy";
      Columns.AddColumn("firm_id", SqlDbType.VarChar, true, false);
      Columns.AddColumn("trader_id", SqlDbType.VarChar, true, false);
      Columns.AddColumn("trader_nm", SqlDbType.VarChar);
  }
  
  #region Properties
  
      public String FirmId
      {
          get { return Columns.StringAt(0);}
          set { Columns.SetValAt(0, value);}
      }

      public String TraderId
      {
          get { return Columns.StringAt(1);}
          set { Columns.SetValAt(1, value);}
      }

      public String TraderNm
      {
          get { return Columns.StringAt(2);}
          set { Columns.SetValAt(2, value);}
      }

  
  #endregion
}
}
